package cn.rwklyd.BookKeeping.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 排行榜项目VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "排行榜项目VO")
public class RankingItemVO {
    /**
     * 分类名称
     */
    @Schema(description = "分类名称", example = "餐饮")
    private String name;
    
    /**
     * 金额
     */
    @Schema(description = "金额", example = "520.5")
    private BigDecimal amount;
    
    /**
     * 百分比
     */
    @Schema(description = "百分比", example = "36")
    private Integer percentage;
    
    /**
     * 颜色
     */
    @Schema(description = "颜色", example = "#FFB74D")
    private String color;
    
    /**
     * 图标
     */
    @Schema(description = "图标名称，用于uni-icons", example = "shop")
    private String icon;
} 